package com.service;

import com.github.pagehelper.PageInfo;
import com.pojo.Pay;
import com.vo.LineVo;
import com.vo.PayVo;

import java.util.List;

public interface PayService {
    /***
     * 业主根据业主编号查询缴费
     * @param ownerid
     * @return
     */
    public List<Pay> selectPayByOwnerid(Integer ownerid);

    /***
     * 物业查询所有缴费记录
     * @return
     */
    public PageInfo<Pay> selectAllPay(PayVo payVo);

    public int addPay(PayVo payVo);

    /***
     * 修改状态
     * @param payVo
     * @return
     */
    public int updatePay(PayVo payVo);

    /***
     * 用户查询抄字记录
     * @param payVo
     * @return
     */
public PageInfo<Pay> OwnerSelectPayRecording(PayVo payVo);
    /**
     * 查询所有的金额
     */

    public List<LineVo> selectallpay();
}
